﻿<controls:ChildWindow x:Class="AuroraPlatform.View.UserManager.UserWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="320" Title="用户信息" FontSize="13" FontFamily="Arial,Microsoft YaHei,NSimSun,SimHei" Language="zh-CN">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0, 20, 0,0">
            <TextBlock Text="用户名" HorizontalAlignment="Left" Foreground="Gray" FontSize="12"/>
            <TextBox x:Name="UserName" IsReadOnly="True" TabIndex="1" HorizontalAlignment="Left" FontSize="14" Height="30" Width="305" Margin="0, 2,0 ,0"/>
            <TextBlock Text="密码" HorizontalAlignment="Left" Foreground="Gray" Margin="0, 10, 0, 0" FontSize="12"/>
            <PasswordBox x:Name="UserPassword1" TabIndex="2" PasswordChar="*" HorizontalAlignment="Left" FontSize="14"  Margin="0,2,0 ,0" Height="30" Width="305"/>
            <TextBlock Text="密码确认" HorizontalAlignment="Left" Foreground="Gray" Margin="0, 10, 0, 0" FontSize="12"/>
            <PasswordBox x:Name="UserPassword2" TabIndex="3" PasswordChar="*" HorizontalAlignment="Left" FontSize="14"  Margin="0,2,0 ,0" Height="30" Width="305"/>
            <TextBlock Text="用户角色" HorizontalAlignment="Left" Foreground="Gray" Margin="0, 10, 0, 0" FontSize="12"/>
            <ComboBox x:Name="UserRole" TabIndex="4" HorizontalAlignment="Left" FontSize="14" Height="30" Width="305" Margin="0, 2,0 ,0">
                <ComboBoxItem Content="普通用户"/>
                <ComboBoxItem Content="高级用户"/>
                <ComboBoxItem Content="数据库管理员"/>
                <ComboBoxItem Content="系统管理员"/>
            </ComboBox>
        </StackPanel>

        <Button x:Name="CancelButton" Content="取消" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="确定" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>